typedef struct
{
    char *ch;
    int length;
} Str;
void swap(char &a, char &b);
void inverse(Str &str);